Got rid of warnings in AddEventViewController.