Changed the mechanism for handling the default application location and validating the chosen location when creating a new application.