Remove redundant code Invite Friends