Removed unnecessary copying of files
Added field priority
Fixed null problem
Updating localstorage with changed value
Multiple fixes