Thanks! I'm not sure if I did it how you described but got it working. The switch has C, NO (normally open) and NC (normally closed) marks on the contacts and I suppose they are the same IN, OUT and GND, that made me confused. I feel stupid
Here's how it's now