Update AppDelegate.cpp

use getInstance replace :)