Use on_activated for initial load (fixes go to any preview)