Fix service and food rating input to only accept one digit, clean up and comment code.