Fix going back and forth between different history modes in overview and history.
Remove unused code for unexisting "overview" general section (we use overview for smth different than intended in that code).
Reuse internal api.