move BroadcastReceiver to base activity