how to use AI for better spending habits