deleting and editing tasks