autoSave dirctory with new features-it will fetch previous data from local storage, data will be deleted after few time interval, updated data will be autosaved and restore button enabled or disabled as per data in the local storage