From https://developer.appcelerator.com/question/164509/local-notification-using-intent