implemented editing food captures and fixed orientation bug