Update Gui.java

NPE