some style changes + partial fix if local storage is empty