Widgetizing different parts of the ui works