Allow to pass upcaed string as the app name, closes #1761

ref #1761