Correcting a time bug

Changing time on setInterval.