title: Android onRestoreInstanceState(Bundle savedInstanceState)
body: <p><br>
   In my application during normal operation the onRestoreInstanceStatance function is executed and causes a null pointer exception in some listener, without invoking that listener. My app contains a lot of data that I write to a file in onPause and restore in onResume and onRestoreInstanceStatance. How can I make the app stable?</p>