Updated activity loading process.