added preview, use getLocalData
added template suffix, _removeItemById
added pagekeys