def METHOD_NAME(self, object_path: str, uuid: str) -> None:
    device = Device(obj_path=object_path)
    logging.info(f"{device} {uuid}")
    try:
        adapter = self.parent.Manager.get_adapter(device['Adapter'])
    except DBusNoSuchAdapterError:
        logging.warning("adapter not found")
        return
    item = {
        "adapter": adapter["Address"],
        "address": device['Address'],
        "alias": device.display_name,
        "icon": device['Icon'],
        "name": ServiceUUID(uuid).name,
        "uuid": uuid,
        "time": str(time.time()),
    }
    stored_items = self.get_option("recent-connections")
    for i in stored_items:
        if i["adapter"] == item["adapter"] and \
                i["address"] == item["address"] and \
                i["uuid"] == item["uuid"]:
            i["time"] = item["time"]
            i["device"] = object_path
            break
    else:
        stored_items.append(item)
    self.set_option("recent-connections", stored_items)
    self._rebuild()