Only show search bar if localstorage is available