[#47974017] Trim the Activity category field on save