Changed code to use navigaiton to load views instead of directly activating views