Fixing sharing from menu.