added getPreviewButton() and getThemeById()