Bluetooth as a push button

It gives me a invalid conversion error, my BluetoothData variable is set as an integer, and if I change it to string, then it throws an error in the Genotronex.read() line.