sendData

fun sendData()

Implements functionality to send user study data to Database.

While the function is running, the value of _sendingStudyData is true. After the function successfully finished sending data, the value of _sentStudyData will be set true.