Changes the state automatically when a detection is no longer true.