Make the cake: Whisk the flour, baking powder, baking soda, and salt together in a medium bowl. Set aside. Using a hand held or stand mixer fitted with a paddle or whisk attachment, beat the butter and sugar together in a large bowl until creamed, about 2 minutes. Add the egg and vanilla extract and beat on high speed until combined. Scrape down the bottom and sides of the bowl as needed.