 			showItemsForSearchResult(nil)
 			
 			searchTimer = NSTimer.scheduledTimerWithTimeInterval(0.2,
-				target: self, selector: "searchFromTimer:",
+				target: self, selector: #selector(LocationPickerViewController.searchFromTimer(_:)),
 				userInfo: [LocationPickerViewController.SearchTermKey: searchTerm],
 				repeats: false)
 		}

		searchBar.delegate = self
		
		// gesture recognizer for adding by tap
		mapView.addGestureRecognizer(UILongPressGestureRecognizer(target: self, action: "addLocation:"))
		
		// search
		navigationItem.titleView = searchBar

			button.layer.cornerRadius = 16
			let bundle = NSBundle(forClass: LocationPickerViewController.self)
			button.setImage(UIImage(named: "geolocation", inBundle: bundle, compatibleWithTraitCollection: nil), forState: .Normal)
			button.addTarget(self, action: #selector(LocationPickerViewController.currentLocationPressed),
			                 forControlEvents: .TouchUpInside)
			view.addSubview(button)
			locationButton = button
		}
