Fix crash if Bluetooth is not enabled.