Fixes a bug with tab view recreated and sub viewed when reloadData called