fixed resignFirstResponder  in competition controller