remove useless attribute from mainWindow (already set in the main)
Relink views after succeed in registration workspace.