switched to using service to control Bluetooth connection
added function so BT connection could be closed, used it when user tried to start a new one; various other code cleanup/improvements