Changed the set method in taskamanger to reflect what it is supposed to do