You can't count on onStop() being called in a timely manner.  I'd recommend firing this intent from the "home" button click listener as well intercepting the back button.