Minor changes.

Easier way to get selected value in 'select'.