In a large mixing bowl, beat butter with an electric mixer for 30 seconds. Add sugar, baking powder and salt. Beat until combined, scraping sides of bowl occasionally. Beat in the egg and vanilla until combined. Beat in as much of the flour as you can with the mixer. Stir in any remaining flour with a wooden spoon. Divide dough in half.