Refactor session panel. Add an ability to add metricPanel selection listeners