Adding changes for load a preview from a selected theme