Add preprocessor tags in presentationMode functions