Mix flour, spices, and salt; set aside. Cream butter and sugar. Add egg and molasses, beating well. Dissolve soda in buttermilk and add to creamed mixture. Add dry ingredients and apples, mixing well. Bake in a greased and floured 9-inch square cake pan at 350 degrees F for about 50 minutes. Serve warm with whipped cream.