Brave linux using 2 instances for different things

Description of the issue:
Brave uses two different instances,

  1. when using the desktop icon to open it.
    2.when clicking on links.

How can this issue be reproduced?

1.Open brave through desktop
2.Open brave through a link

Expected result:
Both the windows of brave should be same
Brave Version( check About Brave):
Version 1.77.100 Chromium: 135.0.7049.100 (Official Build) unknown (64-bit)
Additional Information:
the history,settings,browser theme etc are different for both windows. its like i am using brave1 for desktop and if i click a link it opens brave2.
Also i had edited the brave launch script under ~/.local/share/applications/brave-browser.desktop and added the “env XCURSOR_THEME” flag to make it use Gnome cursor theme. The brave instance opened from desktop doesnt use it but the brave that opens from clicking links uses the custom cursor theme.
The problem here is i want to use only one brave (the one with the custom cursor).