Fix SetInterval for Dashboard
Syntax correction, clean code