Fixed undefined index notice for settings checkbox.