Updated the select folder by id load logic