Add select and insert to History Page