Fixed bug preventing android phones from submitting data