adds automatically a priority dropdown to each new task
input field is now clear after every submit
added comments to the code