made start/stop button fully work