App causes entire phone to crash

Sometimes when the app finishes a session (with app locks) the screen reappears and says “1/5 Unlocks left”. Sometimes it says 1/5 even when I have used my last one. And if I click “Use” on this screen when it displays 1/5 instead of 0/5, it crashes my entire phone, requiring a hard reset.