Added local storage to add tickets view
Update localstorage when ticket is deleted
Removed some redundant code