been working on making a service handle the bluetooth connection. Eventually got it working with the help of a hack.