@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_group_dialog_details);
   dialogId = (String) getIntent().getExtras().getSerializable(QBServiceConsts.EXTRA_DIALOG_ID);
   dialogCurrent = DatabaseManager.getDialogByDialogId(this, dialogId);
   groupDialog = new GroupDialog(dialogCurrent);
   imageUtils = new ImageUtils(this);
   initUI();
   initUIWithData();
   addActions();
   startLoadGroupDialog();
 }
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   /* if (requestCode == Crop.REQUEST_CROP) {
       handleCrop(resultCode, data);
   } else */ if (requestCode == ImageUtils.GALLERY_INTENT_CALLED && resultCode == RESULT_OK) {
     Uri originalUri = data.getData();
     if (originalUri != null) {
       showProgress();
       new ReceiveUriScaledBitmapTask(this).execute(imageUtils, originalUri);
     }
   }
   canPerformLogout.set(true);
   super.onActivityResult(requestCode, resultCode, data);
 }