Obama says stimulus money saved troubled economy