Added a logic to recategorize spending automatically