call apply in main scope to ensure that activity will load