Reinout viewstate fix

- Fixed viewstate (=daterange) setting and getting on the dashboard page.

- Added retry link for failed graphs.