Bug 1078243 - [Costcontrol] When the Starting day of the reset period is...

... 31th, the app does not calculated correctly the end of the reset period.
Dangerous as well, as you are sharing the same date between `lowerData` and `today` you are modifying the date for both. You could set the month to be the same as `today` and then set the date to `0`. What do you think?