Combine almond flour, tapioca starch, salt, baking soda, and xanthan gum in a medium bowl. Cream together butter and sugar in another large bowl. Add egg and exracts to butter mixture and mix until combined. Add flour mixture and buttermilk; mix well to form a dough. Chill dough for at least one hour.