Button not working correctly. Static bool, Potentiometer. uno

Thanks that was it !