FLUID-4686: The preferences framework only saves the modified preferences rather than saving all every time