Update SceneManager.java