Check the time and switch to mode 5 on the hour