With a stand mixer, cream butter and sugar. Then mix in egg and vanilla. Combine dry ingredients in a small bowl and then add to the butter mixture and mix until a soft dough forms. The dough shouldn't be sticky, if it is, add a tablespoon or two of additional flour. Roll dough into a ball and wrap with plastic wrap and refrigerate for about an hour. .