Update GUI.java

merged two buttons into 1 method handling method. Changed implementation of text/key validation thus had to adjust the GUI