Added small check in Analyticsviewer to see if when the time changes there is also an actual selection active