change closeNews function