how to automatically unselect option