public void commandAction(Command command, Displayable displayable) { super.commandAction(command, displayable); if (command == _exitCommand) { App currentApp = App.getCurrentApp(); currentApp.destroyApp(false); } else if (command == _synchronizeCommand) { System.out.println("MainForm::Synchronize"); if (TagKeeper.getInstance().hasRecords()) App.getCurrentApp().getWebServiceIteractor().uploadTagList(null); else System.out.println("there's nothing to UPLOAD again"); } else if (command == _settingsCommand) { UIManager.getInstance().show(UIManager.SCREEN_SETTINGS); } else if (command == _inviteCommand) { UIManager.getInstance().show(UIManager.SCREEN_CONTACTS); } else if (command == Alert.DISMISS_COMMAND) { refresh(); } }