Adding generateDataToSend to notes