Fixed a bug when loading project and added a minor improvement in project selection dialog