If the overlay is shown - hide it. In other cases - ignore single touch With a double touch button - show the "Confirm Exit" dialog.