Back button on Android cause close app

Hi,
my goal is to put in background my app on Android, but now when I press “back” button my app closes.
I saw tripflex:fix-back-button-android package but it don’t works, give me problems in compile.
Somebody have experiences ?