Individual Peace Lily flowers don't usually last more than a week and when they wither, that is not a reason to repot. In fact, I suspect that by moving yours to a larger pot, you may have inadvertently caused the-roots to rot. Allow it to dry outy more before watering and protect it from any direct sun rays.