Added buttons to start and stop motion detection.