adding timer
start timer by clicking on the button
fix tab issue + better api ?