Monadizing doCellAction'