Added a BroadCastReceiver to listen to broadcasts related to updates.