Added code for BroadcastActivity