fix the NPE while update avatar, notify friends if update contact info