Used ContextSettings in Context

It uses default settings so that just a Window can be passed.