fixed nav for settings page, fixed codeView switch statement