Create SetVibrateModeFunction