ADDED: Live updating to our bluetooth code

ADDED: Stopping of scanning when flag is set