Make your apple pie cupcake filling:
In a skillet over medium heat cook butter, apples, and brown sugar for 10-12 minutes.
Mix cornstarch and water until fully combined and then stir it into the apple mixture.
Boil until thick, remove from heat and allow to cool fully.