         var ypos = CGFloat(70)
         
         let container = UIScrollView(frame: CGRectMake(0, 20, self.view.frame.width, self.view.frame.height - 20))
+        
+        let orientationValue = NSUserDefaults.standardUserDefaults().integerForKey(self.orientationKey)
         
         let iconSize = CGFloat(72)
         var orientation = UISegmentedControl()

            ypos += iconSize + 10
            i++
        }
        container.addSubview(orientation)
        
        self.view.addSubview(container)

        self.view.addSubview(backButton)
    }
    
    /*!
     * Handler for the segmented control actions.
     *
     * Saves the choice to the NSUserDefaults.
     *
     * @param sender
     */
    func orientationSelect(sender: UISegmentedControl) {
        NSUserDefaults.standardUserDefaults().setInteger(sender.selectedSegmentIndex, forKey: self.orientationKey)
        NSUserDefaults.standardUserDefaults().synchronize()
    }
    
    /*!
