fix issue 2063 - showing text in statistics dialog.

In the statistic dialog the text for the options "1 month", "1 year" and "all" weren't being completely shown.

The fix I made solved this issue, but I don't really understand why the spaces were added to the texts. I ran the code and tested and everything seems fine... so I think someone forgot to remove that.