Update window layout preference