Fixed bug where currentBudget wouldn't update correctly and changed it so that it reads its value from the database instead