Mix together flour, baking powder, baking soda, and salt. Set aside. In a separate bowl, stir or whisk the melted butter, brown sugar, and vanilla together until combined. Add egg and mix well. Slowly add in the dry ingredients and stir together until just combined. Fold in the chopped candy bars. The batter will be very thick. Spread evenly into prepared baking pan.