Buttons added Start/Stop button and flag added