The proposed approaches: Locking the opened program in the launcher via right click - does not have any effect.
Right clicking unused space in the panel (https://help.ubuntu.com/community/HowToAddaLauncher) - nothing happens
Creating a desktop file (How to add a program that is not installed via APT/dpkg to launcher?) - does not have any effect either, even after restarting
The respective program is PHP Storm and I would prefer to keep Ubuntu 16.04