Ceramic capacitors have no polarity. The first pictures shows a different type of capacitor than the second. The flat capacitor shown in the second picture is not original and is not installed correctly. The capacitor should be across the switch contacts not the diode.