add autosave functionality and remove reset all button