Remove the last group of options and add another when we change the selection.