Made archive/delete button work.