Changed stateId parameter to profileId parameter

It looks like the text from the State API was copied into
Agent Profile and Activity Profile