Added enableClickableOptGroups option

Very similar to #305 but without creating random ids to identify groups.