Added set type for activity