Fixed RIPPLE-47:navigator.notification.confirm can't get correct index of button pressed

https://issues.apache.org/jira/browse/RIPPLE-47