Add resignFirstResponder to handle first row