Implemented pH toggling buttons