Fixed hide on selected logic and optionAction closure bug