Created remove functions
Fixed bugs in setBookmark and remove functions