Fixed the sample code of Bluetooth plugin