When registering a BroadcastReceiver in onResume() you should also unregister in onPause().

You can also test that you cleaned up all receivers properly with ShaodwApplication#assertNoBroadcastListenersRegistered(...)