Button State save, 2 buttons?

I used Digital pins 3 and 5

What about using boolean?