Taskbar not working properly for Windows App

The RemNote Windows app always opens another tab on the taskbar instead of using the pinned icon. Is there a fix?
image

Could it be the pinned icon is pointing to an older .exe?

Yes that solved it, could have thought of that myself. Thanks