Class Ui.ConfirmationDelegate never call onResponse with an EDGE 1030

I have an application that works great with a lot of shows, but does not work with an EDG1030

In this program bellow , onResponse is never called by class with an EDGE 1030

class ConfirmationDialogDelegate extends Ui.ConfirmationDelegate
function initialize()
ConfirmationDelegate.initialize();


function onResponse(value)
if (value == 0) {
resultString = cancelString;

else
resultString = confirmString;



(i suppressed all accolade"


So the only way is to power off the device for stopping the application.

I must transform my code with a MENU with 2 items DISCARD and CONFIRM

Can you fix the problem in EDGE 1030

Didier