A better way to work with toolbars