Added save check, if discarded the bookmarks return to previous state