removes use of topbarbutton