Added Broadcast Receiver to listen to connectivity changes