add set city function to weather forecast demo