Setting appname in application