fix notification.prompt and notification.confirm

notification.prompt was not working because buttons is supposed to be an array
notification.confirm was working, but buttons as a string is deprecated and is now supposed to be an array
see: https://github.com/apache/cordova-plugin-dialogs/blob/master/doc/index.md