Implements stop button