finished the button core in the UI system