Fix warnings for TSPopoverController