 		}
 		
 		//timeout for refresh taking too long
-		delayInSeconds = 10.0;
-		popTime = dispatch_time(DISPATCH_TIME_NOW, Int64(delayInSeconds * Double(NSEC_PER_SEC)));
-		dispatch_after(popTime, dispatch_get_main_queue()) { () -> Void in
+		popTime = dispatch_time(DISPATCH_TIME_NOW, Int64(10 * Double(NSEC_PER_SEC)))
+		dispatch_after(popTime, dispatch_get_main_queue()) {
 			if !finishedRefreshing {
 				self.refreshControl?.endRefreshing()
 				self.view.userInteractionEnabled = true

	
	override func scrollViewDidScroll(scrollView: UIScrollView) {
		super.scrollViewDidScroll(scrollView)
		customRefresh?.scrollViewDidScroll(scrollView)
	}
	
	func setupAddButton() {

		view.userInteractionEnabled = false
		
		refreshFeed()
		addHamburgerMenu()
		
		tableView.tableHeaderView = nil
