move saveFeedbackAndRespond out of global scope (#123)