toggleHistoryChecked