I found out that K2 configures the activity with the data in K2.Configuration . When I try to set the property in K2.Configuration , Oh, God, all properties are read only!!!
Actually I don't want to touch my finger on the template code. I think that is not good oop skill and hard to maintain later. I wish I could manage the activity by customizing the configuration.
I believe that K2 will not let me down. Thank you very much.