Hello Muhammad, this is Emily.
The keys and their functions are actually determined by the firmware (BIOS) of the motherboard. So it makes sense that this got changed after you switched your motherboard.
Boot your computer into your BIOS menu. Locate the function key behavior or multimedia key or action keys option, the labeling of that can be different from model to model. But some BIOS provides an option to remap this. If you can't find it, you might have to refer to the new motherboard manual if you have one, or reach out to the motherboard manufacturer support.