Create SetNormalModeFunction