pH recovery