Update BoxController.java

Fixed a typo in the savefunction