removing xcode user interface state