Working with calendar event validation