If your old Apple ID keeps popping up, it's possible that your old account was not successfully deleted. If the Apple ID keeps popping up, you can remove it from your iPhone again.