Reverting localStorage Commit