How do I change models with a menu?

Perhaps this example will help how to do it.