remember which refValues were selected when timeseries is shown again after hiding from legend