title: Android: Updating SharedPrefereces on activity resume doesn't work
body: <p>I've got an "activity a" which reads some values from <code>SharedPreferences</code> and display them in a <code>TextView</code>, then I call "activity b" where the values from <code>SharedPreferences</code> get updated and written back to <code>SharedPreferences</code>. Finally I go back to "activity a" by pressing the back-button, now the new (updated) values should be read from <code>SharedPreferences</code> and shown in the <code>TextView</code>. But here comes the problem, the values just read from <code>SharedPreferences</code> are still not updated (are not the new ones set by activity b) (got it from logcat output), how comes that? Does <code>SharedPrefs</code> need some kind of manual refresh?</p>
  
  <p>If I restart "activity a" everything works just fine and the new values are shown properly. What's the matter?</p>
  
  <p>I call the method to read and show the values from <code>onResume()</code> in "activity a".</p>
  
  <p>I also tried to re-instantiate the SharedPrefs-Object (with <code>getSharedPreferences()</code>) but it doesn't help either.</p>
  
  <p>Thanks in advance!</p>