Bug fix: App no longer tries to send data to the server when it's not connected