adjusting pulse speed for button