Made context menu platform specific