             }
         }
     }
-    
+
     func emptyDataSet(_ scrollView: UIScrollView!, didTap didTapButton: UIButton!) {
         setUpActivityIndicator()
         if let activityIndicator = activityIndicator {
             tableView.reloadData()
             activityIndicator.startAnimating()
-            
-            // Have activity indicator time out after two seconds
-            let delay = 2
+
+            // Have activity indicator time out after one second
+            let delay = 1
             DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(delay)) {
+                // if the empty state is the "Location Not Found" state, clear the text in the search bar
+                if !self.isNetworkDown {
+                    self.searchBar.text = nil
+                    self.searchBar.placeholder = Constants.Phrases.searchPlaceholder
+                }
                 activityIndicator.stopAnimating()
                 self.activityIndicator = nil
                 self.tableView.reloadData()

        }
        return nil
    }
    
    func setUpActivityIndicator() {
        activityIndicator = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.gray)
        if let activityIndicator = activityIndicator {

        }
        return nil
    }

    func buttonTitle(forEmptyDataSet scrollView: UIScrollView!, for state: UIControl.State) -> NSAttributedString! {
        if activityIndicator == nil {
            let title = "Retry"
