Added selectedUid variable which contains selected value in selectedBox.
Now Replay and Realtime send request with selectedUid as uid.