Preheat oven to 350°F. Grease an 8-inch baking pan (square or round) or line with parchment paper. Set aside.
In a large bowl, mix together flour, sugar, baking soda, baking powder, and salt. Stir in milk and egg until well blended. Mix in pie filling. Pour batter into prepared pan.
To make the topping, in a small bowl, combine flour, sugars, and salt. Cut in butter with a pastry cutter or two knives until the mixture resembles coarse crumbs. Scatter topping over the batter.
Bake for 35-40 minutes, until a toothpick inserted into the center comes out clean. Let cool in the pan at least 5 minutes before serving.