Refactored the code to remove the BluetoothLeService and replace it with a singleton object.