Make it so the budget's duration updates after editing it

Currently, if you edit a budget it doesn't update on the summary page. This fixes that.