Update AppConfig.java

Clean code