Update the UI when a change occurs in the year or month.