Apply enum to activity.