on the way to treat table item click event