Checks instruments Codes

Before saving a new instrument a check is done to see if it already
exists.