fixes bugs occurring on creation and deletion of tasks
small UI improvements