init archive
added action archive task on view task, helps cleaning and maintaining db