Fixed bug when tapping add while the tableview is scrolled.