Add replace_context_menu arg to ListItem.from_dict