Fixed when going back to splash page then to view double calling by adding a counter.

Now to change ajax requests