refactor initializeStructureGroups
deselectOnClick
refactor clearCurrentSelectedElement & setSelected