Modified default preference of mainWindow