Added setChosenOption method.