Fixed TableViewController example and added callback onClick