Changes to share button to make it work better