Updated widget code to work with new pib_button_base function