fixing gitignore. Added safety in TableViewDelegate