GroupController refactored and logic of switching questiontype on
group.xhtml changed