Issue/CB-2451: Added respondsToSelector check because searchBarCancelButtonClicked is optional