Add functionality to share buttons.