refractor bluetooth utils
added android activity to monitor activity lifecylce