fixed page saving when app closes + added to editstoryactivity