Fix setInterval issue

Fix issue with setInterval
Todo:  fix issue with start button