Bug fixed

fixed program starts automatically if stopped