ohh I see now... the problem you are experiencing is caused by data types
The app sends bytes so it converts '1' into '49' and that's what's sent through bluetooth.
Ohh and you really should have connected the app to the bluetooth dongle - that would make everything clear for you.