Fixes #50 and resolves #45. Custom behavior set when selecting a cell.