Apps on SD card under Android 7.1.2 loosing icon

This seems to be an issue since Android 5. See e.g. this old topic: