final ApplicationDescriptor uiCallbackDescr =
new ApplicationDescriptor(daemonDescr, APPLICATION_NAME,
new String[] { "gui" });
// Get existing messages from storage and register them in folders
final ApplicationFolderIntegrationConfig inboxIntegration =
new ApplicationFolderIntegrationConfig(true, true, mainDescr);
final ApplicationFolderIntegrationConfig deletedIntegration =
new ApplicationFolderIntegrationConfig(false);
final MessageListDemoStore messages =
MessageListDemoStore.getInstance();
final ApplicationMessageFolder inbox =
reg.registerFolder(MessageListDemo.INBOX_FOLDER_ID, "Inbox",