MKR 1010 Wifi Transistor 3V+ 5V

I put the resistor where proposed but nothing changes. When I push the pushboton and the engine starts then it appears the arduino doesn't detect the pushbuton again pin 12 keep having 3,3V.
Even if I disconnect the cable on pin 8 (input which changes the variable to false).

t