add timer of display refresh