Update YearComboBox.java

Fixed bug assigning static values instead of class variables