Fix barbutton warning