Fix clear-sessions button action. Add an ability to hide settings panel