Adding tasks with persistence