Prevent user from adding the same key name twice