Fixed it so that when a project is switched it goes to the aoi of that project.
Merge branch 'dev' into bugFixes
Fixed a syntax error.