Added casting i PropertyChangeListener method. #29