Update Controller.java

Fixed scheduler call