title: Pass value to another viewcontroller according to tableviewcell
body: <p>I added UIButton on each tableViewCell so that when I tap it, it can send a user to another viewController according to the text on the tableViewCell. I already used a singleTon with sharingManager to pass values between viewControllers and I set the title inside the function "setSelected" for each tableViewcell. </p>
  
  <pre><code>override func setSelected(selected: Bool, animated: Bool) {
   SharingManager.sharedInstance.selectedCollege = self.CollegeLabel.text!
  
  }
  </code></pre>
  
  <p>And then I fetch the value of "selectedCollege" and set the title on a different UIviewcontroller. </p>
  
  <pre><code>override func viewDidAppear(animated: Bool) {
  
   self.title = SharingManager.sharedInstance.selectedCollege
  }
  </code></pre>
  
  <p>However, it does not set the title correctly as the title does not always match the text on the tableViewCell.</p>