changes from 'Task It: Advanced Functionality' section

with small modifications in commitEditingStyle