The cake should be cooled for at least 15 minutes before flipping. That way it is not too hot but is still warm enough to be sure all the topping will not stick to the bottom of the pan.