Check navigation bar button with class UIButton instead of UINavigationButton.