prepare the looper if it's not already prepared
fix onAvailable listener
remove bbb log statements