I'm having some problems runing your app.
1- If I don't have BlueTooth on I get a msgbox with an error, if I activate BlueTooth I get
THIS error.
2- You have to remove the following lines out of the If FirstTime Then ...
Activity.LoadLayout("Main")
Serial1.Initialize("Serial1")
timer1.Initialize("Timer1", 1000)
Having those lines in FirstTime means that those lines will execute ONLY THE FIRST TIME your app runs.
3- It seems your app is for something specific, I can see a device when I tap on the "Find Device" button, but tapping on it displays
THIS error after a few moments.