rerendering view of calendar correctly when setDate is called