added cookies that remember the pH, pMg, I and Ered