reduced number of times the tasks were stored in the document.
implemented undo for tasks using the BaseSettings Hook as new storage location