Update ProgramController.java

arrow switching implemented