LED Police chaser code

How it must work?
1 push for start and 1 for stop cycle?
Or while is pushed the cycle run?