refactoring: defined constants for extra keys
activity, fragment might no longer exist when task runs in background