More flexible setter for calendar modes