Integrating calendar to main app