Moved performSegue back to viewDidLoad to speed it up.