Changing layout reference