Check selected calendar option when template is rendered.