Wrong place for NavigationBar in CMakeLists.txt