move ble scanning to a viewWillAppear to make sure it happens when we pop root controller