Fixed #715: ability to set a date while adding messages