After switching the options on form, some fields are still shown while they should be hidden