title: Android - Shared Preferences are lost sometimes
body: <p>Some of the users of my application complain that sometimes (in a random way) the settings of my application are getting reverted to their default state (usually after a reboot of the phone). I never managed to reproduce the problem though. I am thinking it is due to the fact that in many places in my app I have a piece of code that calls the shared preferences editor and commits changes - Can it resolves in corrupting the shared preference file if I try to commit several changes to the same preference file at the same time? (Multi-thread application)</p>
  
  <p>I am really lost. I tried to look in the web for hours to find a solution without a success. </p>
  
  <p>If anyone has even an idea so I can start investigating, I would be grateful.</p>
  
  <p>Thanks,
  Amit Moran</p>