Implement type changing

Add delegate for type column
Fix custom size logic