Added a function to reset the mode autochange timer.