Resolve bug with wrong food added + local storage on diaries