Android's hardware back button acting weird

I’m experiencing same weird behavior as somethingnew2-0 mentioned in #454, in nightly.
I would like the hardware back button to act like the up button mentioned by UnbekanntesPferd.
Is it possible ?