     func determineBackButton(){
         self.navigationItem.leftBarButtonItem = preferredLeftBarButtonItem()
     }
-    
+
     func determineRightButton(){
         self.navigationItem.rightBarButtonItem = preferredRightButtonItem()
     }

    public func pushViewController(viewController: UIViewController){
        self.navigationController?.pushViewController(viewController, animated: true)
    }
    
    func determineNavBarButtons(){
        determineBackButton()
        determineRightButton()

        determineNavBarButtons()
        determineBackButton()
    }

    public func setNavigationTitleColor(color: UIColor){
        let attrs : NSDictionary = [NSForegroundColorAttributeName : color]
        self.navigationController?.navigationBar.titleTextAttributes = attrs as? [String : AnyObject]
