Implemented ability to store the PGID in Local Storage, encrypted with AES.