Make sure the application name is set before trying to show the share dialog.