refactor backend plugin activator