Added the groupId to the dropdown, added refresh supporting adding artifact only if it didn't exist (including groupId)
Supporting replacing a non-failed, non-chosen artifact in allArtifacts array if it has a different version