Beat the butter and sugar together until light and fluffy. Add the egg and vanilla, then mix until smooth. In a separate bowl, whisk the flour, baking powder, baking soda, and salt. Add the dry mix to the butter mixture and blend until a soft dough forms.