Fixed the archive functionality behinde the archive button.