You should also add a check here to prevent overloading an app with the same name.