没有在同一添加的收藏夹应用程序上显示正在运行的应用程序

I installed Firefox Developer in ubuntu 20.04 and added to the dock. Then I added it as a favourite app. But whenever I click the app icon it launches but it showed as another app like this. How to solve this. I want to open it in the same launcher place.