Handle network errors
Fix AndroidLint warnings