Fix for https://github.com/mgwt/gwtphonegap/issues/1

Fixed a bug with difference in the button index for the confirm method.