added right click handler to change the type of a cell

closes #3