tab configuration moved to onResume to handle when app is reopened