ENYO-3284: use the "getSelectedProject()" function instead of "getCurrentProject()".