How can the app acquire the selected text when opened from the Context Menu?

Hello, is it possible to solve with App Inventor that if I start my application from the Context Menu, the application acquires the currently selected text?

I added the following lines in the manifest file:

        <intent-filter>
            <action android:name="android.intent.action.PROCESS_TEXT"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <data android:mimeType="text/plain"/>
        </intent-filter>

My app appears in the context menu, but I can't retrieve the selected text.
I created an extension, but the following error message appears: no application can perform this action.

:question:

I have not tried this yet, but I would look in the Screen1 start value block.
Also check the docs for the Activity Starter component, for the case of one AI2 app initiating another AI2 app.