Load sensors tab when opening chart link.

If sensors are present in history, make sensors tab an active one.

Fixes #409