Edited TaskManager.cs' Add and AddUnique methods