Library: Updated the changes related to share popup, made on 6.6.3.a1 branch.