Set app name.

Fixing set app name function, should probably deprecate... But fixing it for now.