fixing problem in which data tab would appear empty after reloading with active tab set to true (simply ensured that the state was changed to the data tab when loading mobile/embedded app