title: SharedPreferences does not work - getString always returns the default value
body: <p>I have a problem with SharedPreferences in Android.</p>
  
  <p>This is my code:</p>
  
  <pre><code>    SharedPreferences s = this.getSharedPreferences("kurs",MODE_WORLD_READABLE);
      s.edit().putString("eur", "1.80");
      s.edit().commit();
      SharedPreferences a = this.getSharedPreferences("kurs",MODE_WORLD_READABLE);
      String kurs = a.getString("eur","7");
  
      Toast hhh= Toast.makeText(getApplicationContext(),kurs, Toast.LENGTH_LONG);
      hhh.show();
  </code></pre>
  
  <p>I´m setting the String and want to read it out directly after that in the onCreate method. But i always get the specified default value "7".</p>
  
  <p>What was wrong? I already researched for that problem, but i can´t found helpful things.</p>
  
  <p>Thanks for your help :)</p>