Preheat your oven to 425°F (220°C).
In a large bowl, combine pitted cherries, sugar, cornstarch, lemon juice, and extracts.
Let the cherry mixture sit for 10 minutes to release juices.
Roll out one pie crust and fit it into a 9-inch pie dish.
Pour the cherry filling into the crust, spreading it evenly.
Dot the filling with small pieces of butter.
Roll out the second pie crust and create a lattice top or cover the pie.
Trim excess crust and crimp the edges to seal.
Brush the top with the beaten egg mixed with milk.
Bake in the preheated oven for 30-45 minutes, until the filling is bubbly and the crust is golden.