Fix an issue when the AddRepo window would be opened, then closed, then opened again.
Fix an issue when the AddRepo window would be opened, then closed, then opened again.

Taiki-San/Rakshata,Taiki-San/Rakshata,Taiki-San/Rakshata