fixed bug with start/stop buttons