 	var refreshedTime: Date! {
 		didSet {
 			currentDate = refreshedTime
-			currentHour = hour % 24
 		}
 	}
 	private var isEnabled: Bool {
 		return refreshedTime != nil
 	}
-	private var hour: Int {
-		return refreshedTime.hour + 23
-	}
-	private var currentHour = 0
 	private var currentDate: Date!
 
 	func gridView(_ gridView: GridView, numberOfRowsInColumn column: Int) -> Int {

					titleView?.button.label.text = self.title!
					let indexPath = IndexPath(row: index*24, column: 0)
					self.timeGridView.scrollToRow(at: indexPath)
					PKHUD.sharedHUD.dimsBackground = false
					HUD.flash(.label(self.refreshedTime.add(components: [.day: index]).string(dateStyle: .short, timeStyle: .none)))
					PKHUD.sharedHUD.dimsBackground = true
				}
				self.navigationItem.titleView = titleView
			}

	func gridView(_ gridView: GridView, cellForRowAt indexPath: IndexPath) -> GridViewCell {
		let cell = gridView.dequeueReusableCell(withReuseIdentifier: "TimeItemGridViewCell", for: indexPath)
		if let cell = cell as? TimeItemGridViewCell {
			cell.setCellEntities((indexPath.row + refreshedTime.hour + 23) % 24)
		}
		return cell
	}
