Fixed all of the warnings and got all of the tabbarcontroller children to implement a protocol and notify a delegate that dismisses the popover