localStorage backup null check