Added missing code for share button