Fix: always unregistering broadcast receiver.