title: Why when I startActivityForResult in order to select image from gallery and I select an image, app is offering me source to choose from again
body: <p>Application starts and prompts me to select image source, I choose gallery, click on selected image, gallery is stopped but I am prompted again to choose image source instead to be directed to the activity that will show image I choosed.</p>
  
  <p>What is happening here, do I need to stop this intent somehow? Thanks</p>
  
  <pre><code>public class MainActivity extends Activity {
  
      // WIDGETS
      private static final int SELECT_PHOTO = 10;
      RelativeLayout layout;
  
      @SuppressLint("ResourceAsColor")
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          Intent intent = new Intent();
          intent.setType("image/*");
          intent.setAction(Intent.ACTION_GET_CONTENT);
          startActivityForResult(Intent.createChooser(intent, "Select Picture"),SELECT_PHOTO);
  
          /*Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
          photoPickerIntent.setType("image/*");
          startActivityForResult(photoPickerIntent, SELECT_PHOTO);    */
  
      }
  
      @SuppressLint("ResourceAsColor")
      @Override
      protected void onActivityResult(int requestCode, int resultCode,
              Intent imageReturnedIntent) {
          // TODO Auto-generated method stub
          super.onActivityResult(requestCode, resultCode, imageReturnedIntent);
  
          switch (requestCode) {
          case SELECT_PHOTO:
              if (resultCode == RESULT_OK) {
  
                  Uri selectedImage = imageReturnedIntent.getData();
  
                  setContentView(R.layout.activity_main);
  
                  layout = (RelativeLayout) findViewById(R.id.layout);
  
                  Intent intent = new Intent(this, ReceivingActivity.class);
                  Cropper cropper = new Cropper(this, this, intent, selectedImage);
  
                  cropper.setCropperCornerImage(R.drawable.ic_launcher);
                  cropper.setCropperStrokeColor(R.color.pickante_blue);       
                  cropper.setOptionBarColor(R.color.pickante_blue);
                  cropper.setActionBuffer(20);
  
                  cropper.setUpCropper(layout);               
  
              }
          }
      }
  
  }
  </code></pre>