Bluetooth state handling