public void refreshCategoryList() { categories = categoryService.findAll(); System.out.println(Arrays.toString(categories.toArray())); }