Added checkboxes in menu and reset element on delete