I think we should use asynchronous AJAX => `this.saveState(true, { speed: newSpeed });` .