Fixed errors found in Local Storage SampleApp