changed reset function back for stop button