Added function to share buttons