Added onToogleNode event