fixed date menu bug caused by switching to the ttk widget