You can replace corn flour with the same amount of wholemeal flour or replace wholemeal flour with rice flour, for a gluten free cake.
The apple raspberry cake will keep for half a day at room temperature in an airtight container, then in the fridge up to 4 days.