Corrected error handling in API Interface and add/edit budget/entry activities.