Added clearInterval inside stop funciton to stop timer running in background