added persistency to room code from extension side