Added keyboard and textfield logic to tableview