Changed how the date picker initializes. This allows for the device iOS version to determine which plugin is created.