Turn off if used >5s in a mode

If the light is on for more than 5s, assume that the next button press
will be to turn the light off.