fix(plugins_settings) trigger plugin hooks when saving plugin settings

$plugin->setPrivateSetting doesn't trigger plugin hooks. 

Calling $plugin->set instead trigger plugin hooks and internally calls $plugin->setPrivateSetting

Fixes: #6820