Added switchToBluetooth to library