Button working

But cannot figure out how to stop and restart loop.