Delete elements if they are empty (they've been deleted) and change run icons