Fixed 'change' event behavior

Fixed 'change' event behavior, so 'change' event now triggers on input
element on datetime selection no matter if picker is attached on input
or input group (i.e. div).