added ability to pass uibutton as nav button