As with other flowering shrubs, as the flowers age, they will turn brown. To keep your spirea flowering, just snip off the brown the flowers. Within weeks, it will flower again. You should be able to get 2-3 rounds of flowers if you keep the old flowers cleaned up.
Thanks for writing!