changed add meal to popup, added history