Another alternate action switch that uses a NAND Schmitt Gate [4093 IC] is shown here. The triggering point for the best performance is adjusted in the trimmer potentiometer. The capacitor can be in the range between 0.47 µF and 2.2 µF.
Alternate Action Switch