pull updateClock out into a helper function, add new event button