Return Value Runtime Error

Yes I did destroy the widget on exit although it’s not shown in this example. But would removing all widget be the same as destroying it? Also, if that’s the case I’m guessing I should get rid of Event Tick and if so, what else can I use to make sure the button the widget is click?