Renders the widget