Create new BroadcastReceiver class to receive Wi-Fi P2P intents.