Application of biosensor for monitoring galactose content