To restore your contacts, quit the Address Book or Contacts application. Triple-click the line below to select it:
Right-click or -click the highlighted line and select from the contextual menu. A Finder window should open with a folder selected. Restore the selected folder, or its contents, from a backup.
To restore your Safari bookmarks, repeat with this line: