change selection type