fixed input problems for button and textbox for the widgetset project