Update App.java

bug fixing