protected void Logout(object arg) { if (Mobeelizer.CheckSyncStatus().IsRunning()) { this.navigationService.ShowMessage(Resources.Errors.e_title, Resources.Errors.e_cannotLogout); } else { Mobeelizer.Logout(); SessionSettings.RemoveSessionCode(); this.navigationService.GoBackToRoot(); } }