Can't set name for recorded activity

I use ActivityRecording in my app, but when I create session with custom name:
ActivityRecording.createSession({
:name => "FM_" + Data.dateStr(),
:sport => dataStorage.getActivityType()
});

It always set name the same as sport (e.g. when I open activity in Garmin Connect).
What's wrong?