improvement the timer system & fix bug double keydown event