title: Why changing orientation triggers event for another time?
body: <p>I have an activity which uses text-to-speech engine to speak out given text aloud. Here it is:</p>
  
  <pre><code>public class AfterPassword extends Activity implements OnInitListener {
      private TextToSpeech tts;
      private String message = "This message will be spoken out.";
      static final int TTS_CHECK_CODE = 0;
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.afterpassword);
          tts = new TextToSpeech(this, this);
      }
      @Override
      public void onInit(int initStatus) {
          if (initStatus == TextToSpeech.SUCCESS) {
              tts.speak(message, TextToSpeech.QUEUE_FLUSH, null);
          }
      }
  }
  </code></pre>
  
  <p>The problem I am facing is, when speaking has end, and by chance user changes the screen orientation, the speaking starts again. I want to stop this speaking on orientation change.</p>