Liquid flow switch