Prepare the sauce and filling in advance and add the pastry a day in advance. Glaze the pie just before baking.