saveDevice = async () => {
    this.setState({
      loading: true,
      errorMessage: null
    });