I have brown marks appearing on the flower of my peace lily and the stamen are turning black....

What is the problem and how can I solve it? I have a feeling that the plant isn't getting enough natural light. Could this be the problem perhaps?

placeholder text for bug in Chrome