refactor view and controller methods for scheduled meals
resolve merge conflict