Changed how setting window works