sample device auto selection

Device auto selection is applied to all select-option block.