Added preferences page.
Added pages for preferences popover.
Added save for saved preferences.