added next stop button functionality