Fixed problem in feed function logic

- Finish food scale
- Fixed problem in feed function logic