example code to recreate crash when inserting/deleting collection view items while keyboard showing