Program stops after button press

Thanks all for your replies.
Doing > or >= indeed works perfectly.
However, I noticed that my LED blings really really poorly (like at 10% light emitting).
Whenever I hold 1 of the buttons, the LED seems to emit at pretty much 90%, which is good.
Would that be because I only lit it for 1 millisecond when the buttons are not pressed, or is there another explanation?

@Nick Gammon
Thanks for the reply. I don't really understand exactly what you mean, but it seems to alost work perfectly now :).