anchor.diff:      }
       updateComponentItem(null,component);
       setPriceTotal();
  +
  +    // persist configuration
  +    window.localStorage["configuration"] = toJson(_configuration);
     }
   
     void clearCurrentConfig() {
  
positive.code:         updateComponentItem(_configuration.casing,"Case");
        }
      }
  
      // clear current config
      _view.querySelector(".clearAction").onClick.listen((_){
        clearCurrentConfig();
      });
  
      // show buy screen
      _view.querySelector(".buyAction").onClick.listen((_){
        showBuySummary();
      });
    }
  
    void setPriceTotal() {
  
negative.code:     template.remove();
  
      // maak component types
      _buildComponentSelectors();
  
      // load persisted configuration
      _loadConfiguration();
  
      // clear current config
      _view.querySelector(".clearAction").onClick.listen((_){
        clearCurrentConfig();
      });
  
      // show buy screen
      _view.querySelector(".buyAction").onClick.listen((_){
        showBuySummary();
      });
    }
  
    void _loadConfiguration() {
      if (window.localStorage.containsKey("configuration")) {
        _configuration = fromJson(window.localStorage["configuration"],new Configuration());
        if (_configuration == null) {
  