#4: added buttons for separate and merged mode. Added events for click
#4: added functionality for merge statistics in reports controller for multiple selection departments