title: Android - Indeterminate ProgressBar
body: <p>I am using the code from this website (http://www.helloandroid.com/tutorials/using-threads-and-progressdialog) in my App.
  It is somewhat working, but not entirely:</p>
  
  <p>When I press Button X, a method is called, and while it is working, the progress bar is shown. After the method is done, another activity is started. So far everything is working fine. But when I press the "BACK" button on my phone, the progress bar is shown again, and appears to be doing nothing.</p>
  
  <p>What can I do to prevent that?</p>