Fixed the siteID bug, now the app is saving the bookmarks with the corresping id from the site database. Also cleaned up the code.