Added App::setWorkmode()