Fixed materials being incorrectly saved into the toggles.yml file.