added edit state and visual to each day