Finish create new app function.