added autoselect option
Merge pull request #6 from rjanicek/autoselect-option

added autoselect option