Remove SetInterval

 It wasn't necessary. Remove setInterval function and moves the code logit to the button down event.