Added a function to the "OK" button

The “Ok” button will now clear the screen and call a method which will
display the had. The button only works when a value is entered into the
text box.