Changed to setInterval