Spenremote sdk does not emit event for single press it emits only for long press?

I am trying to handle single press in my app but it doesn’t any event on single press it emits event only on long press ?

 private val mButtonEventListener = SpenEventListener { event ->
    val button = ButtonEvent(event)
    if (button.action == ButtonEvent.ACTION_DOWN) {
        runOnUiThread {
            Toast.makeText(this@MainActivity, "button pressed", Toast.LENGTH_LONG).show()
        }

    } else if (button.action == ButtonEvent.ACTION_UP) {
        runOnUiThread {
            Toast.makeText(this@MainActivity, "Button Released", Toast.LENGTH_SHORT).show()
        }

    }
}