Changed timing of flashlight switch