In this example the options are set after a five seconds delay, to simulate loading data from, for example, a REST API.