1 button with more functions, solved

This part runs only once per long push. You seem to think the trigger repeats itself as long as it hold.

Try this: