update profile social-sniff and method selectFile in Activity.java