changed the way scanning starts and stops on monitoring/ranging starts and stops to prevent multiple cycles from running simultaneously