added uuid auto-generate and preferences optimization
quick fix for CachedBluetoothDevice error. still need to implement override.