I suspect you are not using the exact same screesnet with the other profile, it may look similar but must be a different one.
I can load any of my screensets with any of my profiles and the button scripts follow the screenset and not the profile.
Go to the View menu then load screenset and see if you can get the same one loaded.
Hood