Dependent dropdown selection not showing, is it a bug?

I have a dependent dropdown list. After selecting an State, corresponding District list generates and user can select a district. I have used TinyDB to store the selections for both State and District. When I call State from TinyDB, it shows as a selected item in the Spinner1 but the district not showing as a selected item in the Spinner2. I have set the screen title as the Spinner2 selected item i.e., after initializing the screen, title is being changing as the Spinner2 selected item.
Spinner_selection.aia (5.3 KB)

spinn2