Currently, we override the press of the back button and open applications button. However, the application closes on the press of the home button. Find a solution to this and comment the link here.
Since t-pin is a lock screen app, it should not close in any way except for when the correct pin is entered.