The error you have is you declare stringlist with same name - one as class member and the other inside function1. Due to scoping rules of c++, your class member isn't modified instead only the one declared in function1 is modified.
Replace this line in function1
with
Bookmarks