selectedIndexPath now set to nil after confirming task