Setting selection to created projects
Added null check to avoid NPE in Shell