Hello, I am trying to pick start and end dates from calendars below:

I used dynamic selectors. I first wrote code for picking start date and it was picking date correctly. Then I wrote code for picking end date and it was also picking date correctly. But when I combine these codes together, program picks start day and then it stucks. Does anyone has an idea about this problem?
Also, I don’t know why but for start and end date calendars, only difference between calendars are calendar button. Other buttons for day, month and year has same selector properties. Maybe problem is about that.
I can listen all the suggestions to pick a date from this calendar. I am trying to solve this for almost a day