Changing layout from options.