Update MinimizeDemo.cpp