Preheat the oven to 175 degrees Celsius. Grease and line an 20-centimeter square baking pan with parchment paper, leaving enough overhang to lift the cake out after baking.
In a medium bowl, whisk together 190 grams all-purpose flour, the baking powder, and salt for the cake. Set the dry mixture aside.
In a large mixing bowl, beat 100 grams softened butter and 150 grams granulated sugar until light and fluffy, about 2 to 3 minutes. Add the eggs one at a time, mixing well after each addition, then mix in 10 milliliters vanilla extract.
Add the dry ingredients to the butter mixture in three additions, alternating with 120 milliliters whole milk in two additions. Mix just until no dry streaks remain. Spread the batter evenly into the prepared pan.
Place the diced apples in a small bowl and toss them with 3 grams of the ground cinnamon. Scatter the apples evenly over the cake batter.
In another bowl, combine 130 grams all-purpose flour, 100 grams light brown sugar, and the remaining 5 grams ground cinnamon. Pour in 85 grams melted butter and mix with a fork until thick crumbs form. Sprinkle the crumb topping evenly over the apples.
Bake for 45 minutes, or until the topping is golden brown and a tester inserted into the cake portion comes out clean. If needed, tent loosely with foil during the last 10 minutes to prevent over-browning.
Cool the cake in the pan for 15 minutes, then use the parchment to lift it onto a wire rack. Let it cool for another 15 minutes before glazing.
To make the glaze, stir together 60 grams powdered sugar, 15 milliliters milk, and 5 milliliters vanilla extract until smooth. Drizzle lightly over the slightly warm or cooled cake.
Let the glaze set for about 5 minutes, then slice into 9 squares and serve.