Changes the type of default state in registration