Button not working correctly. Static bool, Potentiometer. uno

Ok awesome, Thanks! I thought I was supposed to connect it to the wire with changing resistance !