Save and load shuffle/repeat states from localStorage