@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (resultCode == RESULT_OK) {
     if (requestCode == EDIT_PICTURE_REQUEST_CODE) {
       int whichOneWasEdited = 0;
       if (data.hasExtra("WHICH_ONE")) {
         whichOneWasEdited = data.getIntExtra("WHICH_ONE", 0);
       }
       Uri editedPictureURI = data.getData();
       // clone the editedPhoto overriding the initial photo on Skava folder
       boolean success =
           mPictureFilesUtils.copyFileFromUriToUri(editedPictureURI, mSeletedPictureUri);
       if (success) {
         //                    onBackPressed();
         // TODO probar si con el backPressed llego al menu de pictures
         backToPictureMenu();
       } else {
         onBackPressed();
       }
     }
   } else {
     Log.d(
         SkavaConstants.LOG,
         "onActivityResult >> RequestCode  :"
             + requestCode
             + ",  ResultCode: "
             + resultCode
             + ", Intent: "
             + data);
   }
 }
 public void deletePicture() {
   // dereference
   mAssessment.getPictureUriList().set(mSelectedPictureIndex, null);
   // delete physically
   mPictureFilesUtils.deleteFileFromUri(mSeletedPictureUri);
   backToPictureMenu();
 }
  private Bitmap getBitmapFromUri() {

    Bitmap bitmapFromUri = mPictureFilesUtils.getBitmapFromUri(mSeletedPictureUri);

    return bitmapFromUri;
  }