Added function to rebuild slotmask on mcm setting change