Update context menu handling for fragment