do
	table.insert(options.ui.items, 
				{
					title = "GROUPS: Autoselect",
					key = 'gui_autoselect',
					type = 'toggle',
					default = 1,
	                custom = {
						states = {
							{text = "Do nothing", key = 0 },
							{text = "Autoselect Subgroup", key = 1 },
							{text = "Autoselect Supergroup", key = 2 },
						},
					},
				})
	table.insert(options.ui.items, 
				{
					title = "GROUPS: Autoselect inversion",
					key = 'gui_autoselectinverse',
					type = 'toggle',
					default = 0,
	                custom = {
						states = {
							{text = "<LOC _Off>", key = 0 },
							{text = "<LOC _On>", key = 1 },
						},
					},
				})
	table.insert(options.ui.items, 
				{
					title = "GROUPS: Display Group Indicator",
					key = 'gui_display_grouping_indicator',
					type = 'toggle',
					default = 1,
	                custom = {
						states = {
							{text = "<LOC _Off>", key = 0 },
							{text = "<LOC _On>", key = 1 },
						},
					},
				})
	table.insert(options.ui.items, 
				{
					title = "GROUPS: Maximum number of automatic groups",
					key = 'gui_max_autogroups',
					type = 'toggle',
					default = 9,
	                custom = {
						states = {
							{text = "1", key = 1 },
							{text = "2", key = 2 },
							{text = "3", key = 3 },
							{text = "4", key = 4 },
							{text = "5", key = 5 },
							{text = "6", key = 6 },
							{text = "7", key = 7 },
							{text = "8", key = 8 },
							{text = "9", key = 9 },
							{text = "10", key = 10 },
						},
					},
				})
end