added resignFirstResponder method