Modified the way to receive intent parameters in a delegate of BroadcastReceiver.