How do I make my buttons work in the GUI of this code?

Printable View