Added tuple insertion functionality
Added saving table selection as cookie