open an activity when push notification is clicked (android)

When I receive push notification and I click on it in the app bar it automatically redirects me to the main activity.
I want to redirect to the right activity when I click on the push notification.
I searched for the problem and found that I have to add the following in the activity that I want to open

<intent-filter>

<category android:name=“android.intent.category.DEFAULT”/>
</intent-filter>

(com.example.user.notificationfromc.) is my package name
(ShowMessage) is the activity that I want to open.
but it does not work! please help.

Hello,
According to Backendless Support Policy, we do not cover general programming questions on free support plan.
You have to purchase Single Support Incident pack in marketplace so that we help.
More info at https://backendless.com/support-policy/
Artur