Thread and handler for android-bt communication