Restrictions view controller will probably work better as a modal view controller.
Removed code that put a segmented control in the navigation bar.