Knead the dough ingredients (250 g flour, 1 packet of baking powder, 65 g sugar, 1 egg and 125 g butter) quickly and place in a greased springform pan.
Drain the cherries - collect the juice.
Mix 1 tablespoon pudding powder with 5 tablespoon juice. Bring the remaining juice to the boil, add the mixed pudding powder, briefly bring to the boil while stirring. Add cherries.
Mix the cornstarch with a little water and stir into the cherries.
Put the cherry mixture on the dough.
Melt the butter, mix with the quark, sugar, eggs and remaining custard powder. Put the quark mixture on the cherries.
Bake in the preheated oven at 175 ° for about 60 minutes.
Whisk the egg yolk with 1 teaspoon of water, spread it on the cake and bake for another 15-30 minutes.
Let the cake cool down properly in the tin, then remove it from the tin.