Changed delegate to fill the row parameter for picker