add the code to SeekBarPreference.java