Added mBluetoothAdapter check if it is null