Implemented a thread which periodically checks the calendar events via
the framework.