Make adding a new API key show correct buttons.