Hacking pushbuttons

in my first setup (PNP) i simulated a pressure on the pushbutton with a LOW pulse on D7 output. Which didnt work.
in my second setup (NPN) i simulated a pressure on the pushbutton with a HIGH pulse on D7 output. Which worked.