Candy has almost the same meaning as cake and chocolate: A cake symbolizes the word of God presented to somebody as words of encouragement. For a better understanding of this symbol, read “Chocolate” first.
Compared to the meaning of chocolate, a cake does have more nutritional value than chocolate. It is made of wheat which symbolizes the word of God. Ingredients are added (with not that much nutritional value) to make it sweet and more enjoyable to eat. This speaks of preaching the word of God or ministering unto people at a level or in a way that makes it a lot more encouraging and enjoyable for them than usual. Let’s face it, sometimes when we feel down we do need encouragement. That is when we need spiritual cake.
In a negative sense, people craving a cake all the time are not balanced. We actually need real food (meat and bread) to grow spiritually. A cake also speaks of worship and thanksgiving. In this sense, people crave words of adoration and gratitude of people because they feel drained or unappreciated. Such words of gratitude will be very encouraging for people in this emotional condition.
Candy has no nutritional value but people love it. This is the same for nice and kind words of appreciation and adoration or honor. This dream is all about this aspect. The other scene was about missing friends so there may be some connection here.