resolved deprecation of UIBarButton