Resolve #5: Remember selected tab in local storage.