One Button Two Functions bug fix

I've already mentioned that the multimeters in the tinkercad sketch show the pulses that go on one pin or the other at a time. I couldnt find a relay in tinkercad that worked well for emulation. Circuit controls the relay coil position which is wired for an audio signal while the LED is just an indicator whether the audio is on or off.

Pressing the button will activate the relay (RELAYP variable pulse) and turn the LED on. If the button is held for 500ms or more it continues to stay on until it's released and should shut off the led and switch the relay coil in the off position (RELAYN). Pressing the button and releasing the button for 500ms or less should keep the LED and switch the RELAYP on and keep it on ad then when the button is pressed and released again it should switch off (latching function).