private void handleUpdate() {
		if (pref instanceof PreferenceBoolean) {
			PreferenceBoolean prefBoolean = (PreferenceBoolean) pref;
			prefBoolean.setTmp(checkbox.isSelected());
			checkbox.setSelected(prefBoolean.tmp);
		}	
	}