Move context menu event logic to player