BroadcastReceiver implementation.