Removing the setup view correctly