reset methodId when changing type and explicitly set set selection to 0