Example of a broadcastReceiver