trigger change event when selecting date