move default config to core.settings.js. Fix selecting row for different page