fixing problem with interval halving each time clearInterval() is used
and then the setInterval() function is used again for time