move addTask into module
pass old and new task in onChange; update to rc6