add activity activator in code