Fixed selected date not triggered bug