Currently this will prompt for your password and select the provided version regardless of what version is already selected. Instead it should check to see if this Xcode version is already selected and, if so, log that this is the case and finish immediately.