Give one factor that contributed to the changing landscape of Philippine society and economy in the 19th century and how did this happen?​