fix setInterval for all buttons