If sensors are selected load sensors tab.

If sensors are present in history, load sensors tab as active tab.
Fetch data when page is loaded from a link.
Merge pull request #542 from MastodonC/feature/chart-fix

Load sensors tab when opening chart link.