Setting event as viewed or unviewed