fixed a bug in the TabBar Controller that loaded the middle view everyime. Also confirmed that getLocation works on device