added registerBroadcastReceiver
added expositions about registerBroadcastReceiver