Update ApplicationManager.java