Added persistence in the frontend.
Fixed highlight after save or load.