added function of updateTimerBar and clearClickedInteractions

updateTimerBar a function to update the timerbar then the
clearClickedInteractions is to clear the grid when it is clicked.