Code cleanup: overload setCellType()

Code cleanup for pull request #1
Very minor change, created to get more readable code in my opinion...