She announced her pregnancy at a funeral. What now?

She announced her pregnancy at a funeral. What now?

“I accidentally announced that I’m pregnant at a funeral. I’m five months pregnant and showing, so a friend asked and I told her. After the service, word spread and people congratulated me. This upset my friend mourning her late husband because she felt that I made the day about me. She said that I should have announced it on a different day. Should I have lied and how can I make it up to her?”