Refactor random color selection in register()
Select only available random colors in register()