fixed #456: disable today button when needed