Set cell event listeners synchronously. Also fix cell id getter