Update preferences-editor.cpp