@Override
 public void execute(Bundle bundle) {
   Exception exception = (Exception) bundle.getSerializable(QBServiceConsts.EXTRA_ERROR);
   DialogUtils.showLong(GroupDialogDetailsActivity.this, exception.getMessage());
   resetGroupData();
   hideProgress();
 }
  private void saveChanges() {
    if (!isUserDataCorrect()) {
      DialogUtils.showLong(this, getString(R.string.gdd_name_not_entered));
      return;
    }

    dialogCurrent.setName(groupNameCurrent);

    if (isNeedUpdateAvatar) {
      new ReceiveFileFromBitmapTask(this).execute(imageUtils, avatarBitmapCurrent, true);
    } else {
      startUpdatingGroupDialog(null);
    }

    showProgress();
  }