bugfix: resuming app now restores instance