Add cell edit handler