Reverted put_scan_control to accept the state as text