setEditing working