Switch Bluetooth off when connected to Wi-Fi

Description
Description coming soon…

Permissions
BLUETOOTH & BLUETOOTH_ADMIN
– for turning bluetooth on or off

ACCESS_WIFI_STATE
– for getting notified about changes in the Wi-Fi state

WAKE_LOCK
– preventing the phone from sleeping until work is done