a few more small changes to ble start scan and onscan functions