fix database for saving mealtype
click date functionality add