Now I have some time to thinking and I think I find a fault in the downloadable document. I look for the original schematic and the pcb trace and the second pin of the pic connects to nothing in the new design. The 1n4148 is only a flyback diode for the relay.
It uses only pin 4 for the footswitch and pin 5 for the switching and of course the supply pins.
It uses only pin 4 for the footswitch and pin 5 for the switching and of course the supply pins.