added widget and bar buttons.