changed createEvent method as it craches on android if options isnt provided with the following exception: "org.json.JSONException: No value for options"