implemented TimerUI.