#70 - Updating local storage getItem comparison logic following code review