One Button Two Functions bug fix

anyone help me map this out so i can close this out? thank you!