updated logic for undo function

Conflicts:
	task_list