title: SharedPreference Flush or clear not working
body: <p>So this is in my first.java </p>
  
  <pre><code>SharedPreferences preferences = getSharedPreferences("myPrefss", getApplicationContext().MODE_PRIVATE);
  preferences.getString(currentPlace, "");
  SharedPreferences.Editor editor = preferences.edit();
  editor.putString("CurrentPlace", currentPlace);
  editor.commit();
  </code></pre>
  
  <p>This is in my second.java</p>
  
  <pre><code>SharedPreferences preferences = getSharedPreferences("myPrefss",  getApplicationContext().MODE_PRIVATE);    
  String curlocation;
  curlocation = preferences.getString("CurrentPlace",""); 
  </code></pre>
  
  <p>say the first class gives the output as aaa the first time now when i go back and redo the process i get aaaaaa this time, the string gets appended. any idea how i could avoid this ?</p>