When pressing the alternate cast button after reordering your active items, it doesn't regiter that the item's key has been changed.
Steps to reproduce:
Buy Healing Rite and bind to X,
Press alternate cast and verify it's on X,
Change the key to anythign else,
Press alternate cast button again - it still shows X as shown in the image below