Water Flow Switch Function