Added a settings menu item and modal for group by.