Improved share functionality