refactor exit btn processing
add archive