added buttons to the ui elements