Better fix of issue #1

Previous fix allowed handlers to continue to run after the the user exited the app. Now all of the callbacks performed by the handler are removed when the app is paused (or the fragment is paused)