[pyqgis-console] reject changes in settings if they are not applied