Fix calendar button issue