add timer to all buttons