In a small bowl, mix flour, baking soda, baking powder, sugar, butter, milk and egg. Pour into a greased cake pan. Bake at 350 degrees for 8 minutes. Remove from oven and let cool. Remove the center of the cupcake and fill with sprinkles. Place vanilla icing in a piping bag and pipe frosting on cupcake.