Safe with Display and Buttons

I typed up a complete answer, and then snipped a bunch of it. This is what is left.

If you post ALL of your code, I'll post all of my answer.