Remove redundant localStorage check