(1) updated css
(2) empty items should not be saved