+-> picam2 : nu avem hue si da eroare
+-> picam2: zeroconf refreshEnabled == 1
+-> change password: refresh asks for auth 
+
 -> style scroll bars
 -> hint text next to section titles
 -> clickable hints
 
     
     camera_ids = []
     
-    pattern = _CAMERA_CONFIG_FILE_NAME.replace('%(id)s', '(\d+)')
+    pattern = '^' + _CAMERA_CONFIG_FILE_NAME.replace('%(id)s', '(\d+)') + '$'
     for name in ls:
         match = re.match(pattern, name)
         if match:
 
                 return;
             }
             
-            hideApply();
+            endProgress();
             fetchCurrentConfig();
         });
     });
                         return;
                     }
                     
-                    hideApply();
+                    endProgress();
                     var addCameraOption = $('#videoDeviceSelect').find('option[value=add]');
                     addCameraOption.before('<option value="' + data.id + '">' + data.name + '</option>');
                     $('#videoDeviceSelect').val(data.id).change();