save/resotre chart selection
don't re-add comments on tab switch, avoid quadratic comment sort
Merge pull request #500 from nelenkov/revenue

save/restore chart selection; don't re-add comments on tab switch, avoid quadratic comment sort