Problems selecting and toggling LED status with potentiometer

Ok, I think the only problem I have now is keeping the results of an if statement to remain constant. In this case, I'm trying to keep one LED in the pair on and the other off, but at the moment it only works while the button is pressed. Is there a way to make the case "stop" after producing a certain output?