Changed return values for indexOffirstChangedToDo()

This is to fix bug where first date label is highlighted when user edit
a task but introduced no change.
Also fixed up/down when scrolling using ctrl+up/down.