@Override
 public void refreshView() {
   super.refreshView();
   //
   _view.post(
       new Runnable() {
         @Override
         public void run() {
           _groupText.setText(_module.getDisplayAddress());
           ModuleParameter levelParam = _module.getParameter("Status.Level");
           if (levelParam != null) _levelText.setText(_module.getDisplayLevel(levelParam.Value));
           else _levelText.setText("");
           ModuleParameter colorParam = _module.getParameter("Status.ColorHsb");
           if (colorParam != null && colorParam.Value != null) {
             try {
               String[] sRgb = colorParam.Value.split(",");
               int red = Integer.parseInt(sRgb[0]);
               int green = Integer.parseInt(sRgb[1]);
               int blue = Integer.parseInt(sRgb[2]);
               int color = Color.rgb(red, green, blue);
               _colorPicker.setColor(color);
               _colorPreview.setBackgroundColor(color);
             } catch (Exception e) {
               // TODO parsing errors
             }
           }
           //
           // _levelBar.setProgress((int)Math.round(_moduleHolder.getDoubleValue(levelParam.Value)
           // * 100));
         }
       });
 }
 @Override
 public void refreshView() {
   super.refreshView();
   //
   _view.post(
       new Runnable() {
         @Override
         public void run() {
           if (!_module.DeviceType.equals("Dimmer")
               && !_module.DeviceType.equals("Siren")
               && !_module.DeviceType.equals("Shutter")) {
             _levelBar.setVisibility(View.GONE);
           }
           _groupText.setText(_module.getDisplayAddress());
           ModuleParameter levelParam = _module.getParameter("Status.Level");
           if (levelParam != null) {
             String level = _module.getDisplayLevel(levelParam.Value);
             if (_module.DeviceType.equals("Shutter")) {
               if (level.equals("OFF")) {
                 level = "Closed";
               } else if (level.equals("ON")) {
                 level = "Open";
               }
             }
             _levelText.setText(level);
             _levelBar.setProgress(
                 (int) Math.round(_module.getDoubleValue(levelParam.Value) * 100));
           } else {
             _levelText.setText("");
           }
         }
       });
 }