fix(plugin_settings): Fix problem with plugin setting no triggering plugin hooks

$plugin->setSetting doesn't trigger plugin hooks. Using $plugin->set triggers the hooks and store the value in privateSettings as expected.

Fixes: #6820