add event for widget: pluginconnected