Corrected styling and added local storage support.