get value of selected row from picker correctly