add set app name function