Updated id property check on activity for event scheduler