                 NSNotificationCenter.defaultCenter().postNotificationName("prof_picture", object: pic)
                 
                 //ImageHeaderView.sharedInstance.setName(json["veznev"].stringValue)
+                self.items.removeAll()
                 self.loadEstateList(0, page: 0, fav: self.isShowingFavs, etype: self.adType, ordering: self.order, justme: self.isJustMe)
                 self.tableView.addSubview(self.refreshControl)
             } else {

    
    
    func loadEstateList(id: Int, page: Int, fav: Int, etype: Int, ordering: Int, justme: Int) {
        
        EstateUtil.sharedInstance.getEstateList(id,
                                                page: page,
                                                fav: fav,

    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        //networkChecker()
    
    }
    
