Go to line 474 in recipes.lua (in the prototypes folder), and change
ingredients = {(data.raw.item["platinum-ingot"] and {"potassium-nitrate", 12}) or ...
to
ingredients = {(data.raw.item["potassium-nitrate"] and {"potassium-nitrate", 12}) or ...
If you're on windows you can get to the mod files by finding the Factorio folder in Roaming (WindowsKey + R, %appdata%), and in the mods folder you'll find the ChemistryForYou_0.5.1.zip that you need to edit.