Changed some hardcoded strings to resource strings
added additional code comments and error handling to nearby activity