Custom materials list deleted when I change preset setting

Material settings are saved in the preset, so when you select a different preset the materials get overridden. To get around the problem, once you are done setting up your materials, save it as a new preset.