Add localStorage prefix and loop table id to get localStorage