fixing selecting nearby activity