selected tab in debug stays same after refresh