verifies that a value is selected in spinner