Add hour selector and correct bug before layer are charged