Added extra checks of the Bluetooth adapter state.