Atom opening up two icons on Linux?


I am running Linux Mint 18.3 with Atom 1.22.0 and have installed Plank (A simple Linux Dock).

I installed Atom and opened it, set it to stay in the dock but when I open atom it opens a new icon and does no use the favourite icon I set.

As you can see there are two atom icons? Is there anyway which I can stop this?