Update UI.java

fixed ui errors