Added a checkbox to indicate the current display state.