So I am trying to implement calling the same activity twice, I understand there will be better ways to do this but right now I just want 2 separate data recordings. When I try to run this code, the Diastolic BP gets read in first which is unintentional. Can someone explain why this is happening please. Thank you.

```
Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
                //The following is required when ^^^ this is used
                i.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
                i.putExtra(RecognizerIntent.EXTRA_PROMPT, "Please Read your Systolic Blood Pressure Value");
                startActivityForResult(i, SYSTOLIC_CHECK);
                //A different request code is required per activity called
                Intent j = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
                j.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
                j.putExtra(RecognizerIntent.EXTRA_PROMPT, "Please Read your Diastolic Blood Pressure Value");
                startActivityForResult(j, DIASTOLIC_CHECK);

```

...

```
    @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == TAKE_PICTURE_REQUEST && resultCode == RESULT_OK) {
        String thumbnailPath = data.getStringExtra(Intents.EXTRA_THUMBNAIL_FILE_PATH);
        String picturePath = data.getStringExtra(Intents.EXTRA_PICTURE_FILE_PATH);

        processPictureWhenReady(picturePath);
        // TODO: Show the thumbnail to the user while the full picture is being
        // processed.
    }
    else if ((requestCode == SYSTOLIC_CHECK) && resultCode == RESULT_OK)   {
        results = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
        String spokenText = results.get(0);
        System.out.println("Systolic BP: " + spokenText);
        //OutputStreamWriter out = new OutputStreamWriter(openFileOutput(STORETEXT, 0));
    }
    else if ((requestCode == DIASTOLIC_CHECK) && resultCode == RESULT_OK)   {
        results = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
        String spokenText = results.get(0);
        System.out.println("Diastolic BP: " + spokenText);
        //OutputStreamWriter out = new OutputStreamWriter(openFileOutput(STORETEXT, 0));
    }
    super.onActivityResult(requestCode, resultCode, data);
}

```