Works

Now the buttons get disabled. I used IF-ELSE statements, maybe I should try SWITCH statements to make my code more readable.