Refactoring on time selector

Dashboards can define default time frames