It will check the return value of prompt so it will not create
application if the name is empty or null