Move the time update to the app level.