Preheat oven at 170°C/340°F. Grease and flour a 20cm/8-inch springform pan. Beat butter and sugar until light and fluffy. Add eggs, one at a time and beat. Add half of the flour, then the milk and vanilla, and finally the rest of the flour, baking powder and baking soda.