Fixed problem with saving plugin config.