refactor time mode select control to a partial