refine code
clear tableview's data when reload
deselect row before displaying detail screen