get level from localStorage