Implemented food adding/editing, fixed DAOs new generated ids.