Added dateSelected event