Set date when Enter pressed

Refs #141