Update UI after archiving repository when archives are not shown

Issue #372 resolved
Former user created an issue

When the list doesn't show archived repositories, and one is archived, it disappears from the list, but the unarchive button is enabled. Clicking it does nothing (i.e., it is no unarchived and automatically shown). This is quite confusing. Maybe the currently archived repository could stay in the view after archiving and disappear only after refresh or sth? Or the selection should simply be reset and the unarchive button should not be enabled.