   }
   
   private func resetCard() {
-    // Clear search results and uses any default values, e.g.,
-    // past searches or favorites, if available.
-    searchTextPublisher.onNext(("", forced: true))
-    
     // Remove focused map annotation and display nearbys.
     focusedAnnotationPublisher.onNext(nil)
     

  
  private func showTimetable(for annotation: MKAnnotation) {
    guard let stop = annotation as? TKUIStopAnnotation else { return }
    
    prepareForNewCard()
    
    // We push the timetable card. To replicate Apple Maps, we put
    // the timetable card at the peaking position when it's pushed.

  public override func willAppear(animated: Bool) {
    resetCard()
    super.willAppear(animated: animated)
  }
  
  public override func becomeFirstResponder() -> Bool {
    if let text = searchBar.text, !text.isEmpty {
      return searchBar.becomeFirstResponder()
    } else {
      return super.becomeFirstResponder()
    }
  }
  
  public override func didBuild(tableView: UITableView, headerView: TGHeaderView?) {
