-Made dashboard settings functions asynchronous
-fixed DashboardWidget.getPrettyTimeUnit