Unplug the refrigerator from the wall outlet.
Insert a flat-head screwdriver into the pry slot on the bottom of the dispenser cover. Gently pry the dispenser cover from the dispenser housing. Disconnect the wire connectors from the rear of the control panel and set the dispenser cover aside.
Take out the screws securing the dispenser module cover and remove the module cover.
Remove the dispenser lever by pulling it out of the assembly or taking out the mounting screws securing it to the assembly, depending on the model of your refrigerator.
Depress the spring and remove it from the assembly.
Pull the pin out of the spring and insert it through the two coils on the new spring.
Depress the spring slightly inward and slide each end into the retainers.
Reassemble the ice dispenser by reversing the steps taken to disassemble it.
Restore the refrigerator's power supply.