 
 		// Don't display any separators if the list is still empty
 		if parkinglots.count == 0 {
-			self.tableView.separatorStyle = UITableViewCellSeparatorStyle.None
+			tableView.separatorStyle = UITableViewCellSeparatorStyle.None
 		} else {
-			self.tableView.separatorStyle = UITableViewCellSeparatorStyle.SingleLine
+			tableView.separatorStyle = UITableViewCellSeparatorStyle.SingleLine
 		}
 
 		// Handle the TimestampCell

	*/
	func showReloadButton() {
		let refreshButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Refresh, target: self, action: "updateData")
		self.navigationItem.rightBarButtonItem = refreshButton
	}

	/**

	Sort the parkingslots array based on what is currently saved for SortingType in NSUserDefaults.
	*/
	func sortLots() {
        guard let sortingType = NSUserDefaults.standardUserDefaults().stringForKey("SortingType") else {
            
            return
        }
		switch sortingType! {
		case "distance":
			parkinglots.sortInPlace({
