getTitleFromEvent (event) {
		let title = "Event";
		if (event.summary) {
			title = typeof event.summary.val !== "undefined" ? event.summary.val : event.summary;
		} else if (event.description) {
			title = event.description;
		}

		return title;
	}
Gets the title from the event.
@param {object} event The event object to check.
@returns {string} The title of the event, or "Event" if no title is found.