Fix to deselect rows when was done button was not tapped.