edited GameUI.java