apply store id and change layout