To prepare crust, mix flour, sugar, salt, and baking powder in a medium bowl. Cut in butter with a pastry blender or two knives until you have pea-sized crumbles. Gently mix in beaten egg.
Spray a 9x13 baking dish with non-stick cooking spray. Gently pat about 2/3 of the crumb mixture onto the bottom of the dish. Preheat oven to 350 and set aside.
To prepare apple filling, combine flour, sugar, and cinnamon and toss with apples.
Spread apples out on prepared crust. Sprinkle reserved crust mixture over apples evenly and bake in preheated oven for 40 minutes.
When finished, allow to cool completely.
To prepare glaze, whisk together powdered sugar, almond extract, and enough milk to achieve desired consistency.
Place glaze in a Ziploc bag and cut off a very small portion of one of the corners (or just use a fork) to drizzle glaze over cooled pastry and allow to harden (you can place it in the freezer to hurry things along). Cut into bars and serve.