Fix inserting cells from buttons