When using icon from an application for a floating button, if you restart phone, icon is
is not restored, you have to reconfigure button to retrieve it.
That's probably a bug, what Macrodroid version are you using ? If you're not aldready in beta, I suggest you update to 5.26.8 to test the issue in this version. If the bug is still present, make a bug report.