Cancel timer when leaving edit route