'FCM push notification click_action cause problem in my application flow

In my application, I have activities flow like this splash ->main -> Cafe activity. but when i clicked on the notification received when my app is in background, because of the click_action in my notification body i have successfully redirect to cafe activity which is my desire action, but when i try to navigate back to main activity its just closes the app like my cafe activity become launcher activity and i don't want this flow. Anyone kindly suggest what should i do. here is my FCM code :

{
         "to" : "c1kjwpNbRPu3B4MMdjPrtn:APA91bGZPpkfqf4RMrtdblBXo0GKvw_LkmxcnzWEZ1GQzRsKl4d05dQ4Ho5XunydwhzyZfPKGpLltyLQqmv46fIchXIjHWUqKxAADbHB5KLRSft4Uf25oLbJce96TpqlRKmnQWKTup-X",
         "notification" : {
             "body" : "Body of Your Notification",
             "title": "Title of Your Notification"
             "click_action":"ACTIVTY1"
         },
         "data" : {
             "body" : "Body of Your Notification in Data",
             "title": "Title of Your Notification in Title",
             "orderId" : "1",
             "orderStatus" : "1"
         }
    }

and in my manifest file i use this line of code:

  <activity
                android:name="CafeActivity"
                android:exported="false"
                android:parentActivityName="ChoiceActivity"
                android:screenOrientation="portrait" >
                <intent-filter>
                    <action android:name="ACTIVTY1" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
            </activity>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source