> **PopUpManager.centerPopUp(alertInstance); > alertInstance.messageString = messageItem > alertInstance.messageDuration = messageTime;
moving this line fixed it: > alertInstance.messageString = messageItem > alertInstance.messageDuration = messageTime; > PopUpManager.centerPopUp(alertInstance);