use stringbuilder instead of array in messages. start service using app context in bt receiver. update handler.