button functionality in social