Before you start, if you need to handle action buttons with yourself, then you need to set your receiver in androidmanifest.xml which extends from com.dengage.sdk.NotificationReceiver. Otherwise the SDK will handle button clicks.
you need to define your receiver in your manifest file.
The SDK fires an event callback which is called onActionClick in your receiver class when an action button is clicked. So you can catch the button.