Implementing pull-to-refresh on the tableViewController. Currently crashing when trying to insert new data to tableView.