set ACTion for done button