Problem in DialogPreference
<p>My problem is the following : I have a component that extends DialogPreference, if I change the associated preference from other part than the UI, with </p>

<pre><code>SharedPreferences.Editor ed= sharedPreferences.Edit();
ed.putInteger("Setting",aValue);
ed.commit();
</code></pre>

<p>then when I open the dialog the selected preference is not changed accordingly to the previous setted value, even if in the shared preferences the value is modified.</p>

<p>Has anyone , any idea what could cause this ?</p>
