Fixed issue with custom fields for activity only. Thanks to @Ruben