Saving & restoring state of application when suspended fixed.