Change config window and set parent class