Manage assigning value when multiple selection