Changing options based on the user input