Fixed a bug with the Bluetooth connection when pairing