Ios application state preservation.pl