added preferenceChangelistener for StreamingKmeansClassifier