How to stop continuously servo with push button

Perhaps multitasking is unnecessary, in this case, but why would you endeavor to write, post and suggest to the user, code that has known possibilities to cause an issue?