UI adapation for MacOS