Fixed a bug appearing when you start the app and have no internet connection. When this happens you had to close the app and reopen to start sending samples. Instead, now, sample are sent when the internet is enabled and you finish collecting a sample