add reset action status when click edit, formatting