Terms stays closed with local storage