in door options not working,but lights still working

I have a Maytag frig the water and ice dispenser are in the freezer door. The outside lights work when switching from ice to water but when you push the flapper in to dispense nothing happens?ice maker still makes ice but will not dispense .any help.