refresh_data function is idempotent.
Removed CSS-returning function.