Implemented deleting tasks feature