New constructors for ActionItem (with resId)