Remove selected from the list (will be replaced by weakptr)