Refactor BW::UIBarButtonItem module to a class