Added a few methods to open the window at a specific preference