Converted calendar to use auto layout