Create a public setter for controls_scanning