[dev] How to use BuildSelection and giving data to backend