Switching the widget type for the Agent status