Fixed a bug with date on mainform.