changing layout of the attribute chooser and add button