Connect two pins with a Switch

Hi! I paired it, but could not make it work as I described. I tryed everything. I tryed your code now again before I answer you and still cant make it work. Strange.
But you pushed me in the right direction.
I will test it more tonight.
Cheers