Now the selections are restored after refreshing page in searching