"Your changes could not be saved" after changing library agent

Oh I think I solved it! All I needed to do is change the agent specifically to TheTVDB, and then changed it to Plex TV Series, and it worked this time!