Multi Function Button

yea i just realized i forget the opening and closing brackets of that last if statement. it seems like there is a lot of code involved in making a button detect short/long presses AND double/triple fast presses