Fix registry init when clicking on the registry button.
Use tabs instead of buttons.