Added Custom ribbon class in MacLegacy to enable use of ribbon component