Feature/graph refresh fix2

Fixes graph auto update and refresh button not respecting date ranges set by the user in the date range selector.