App saves data when suspended or terminated