Finish function on select table view