LocalStorage Bug Fix