fixed the bug on finding currentFood process
now user can add posts successfully and it will appear without a page refresh