>>407
if(!preference.contains(key)){
preference.putXXX(key, value);
}