It seems to me to be an easy thing to find the correct food type based on the 3 answers. Take what you have that does that now and put it in the gotoAnswer(IDS) function or call it from that function.
I need the 1st question to disappear leaving the next and so on!
Also easy to implement. Add it to the part that make the next dropdown appear.