if (userEmailTextBox.getText().trim().isEmpty() || isEmailValid) {
win.getEl().mask("Saving email ...");
final EditProfileHandler callback = new EditProfileHandler(win);
final String userName = userNameTextBox.getText().trim();
final UserId userId = UserId.getUserId(userName);
DispatchServiceManager.get().execute(new SetEmailAddressAction(userId, userEmailTextBox.getText().trim()), new EmptySuccessWebProtegeCallback<SetEmailAddressResult>());
NotificationServiceManager.getInstance().setNotificationDelay(userId,
NotificationType.COMMENT, NotificationInterval.fromString(commentsNotification.getItemText(commentsNotification.getSelectedIndex())), callback);
NotificationServiceManager.getInstance().setNotificationDelay(userId,
NotificationType.ONTOLOGY, NotificationInterval.fromString(ontologyNotification.getItemText(ontologyNotification.getSelectedIndex())), callback);
} else {