Don't initialise until after application is activated/registered
Declare app.on_activate directly