Change tabs to spaces
Add interval to tree when undoing deleted task, and remove interval from tree when deleting task