Fixed sample code in Bluetooth plugin