New Function!

now when the user is going to leave the app, a pop up appears and shows
a message saying if he really wants to leave…pretty cool so you don’t
lose progress, it also saves the session