Update SceneFactory.java