Add selection attribute