Problem when clicking buttons in a widget

In fact, I did not put the breakpoints in the click event handlers to ensure that they are being called when expected. Honestly, I do not know how to do that. I think this should be the problem.