Fixed query concatenation issue. Fixed issue with first response
Added done interaction to save the record