Store the scaling in the settings