Where to add a capacitor
Well a schematic would be pretty helpful to get you a better answer but have you tried just putting a 10uF capacitor in parallel with the LED?  Better yet maybe with a small current limiting series resistor between the positive side of the cap and the diode.